package com.company.finance.ddd.common;

import java.util.List;
import java.util.Map;

/**
 *
 * @author wanglei
 * @version $$Id: IRepository, v 0.1 2021/2/5 15:07 wanglei Exp $$
 */
public interface IRepository<E> {

    void save(E entity);

    List<E> query(Map<String, Object> queryCondition);

    E get(Long id);

    void delete(Long billId);
}
